<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
    	<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
		<meta name="format-detection" content="telephone=no" />
		<meta name="apple-mobile-web-app-capable" content="yes" />
		<meta name="apple-touch-fullscreen" content="yes"> 
		<meta content="telephone=no,email=no" name="format-detection" />
        <meta name="flexible" content="initial-dpr=2,maximum-dpr=3" />
		
		<title>羊仓健康生活家</title>
		<link rel="stylesheet" href="css/xsg.css" />
		<link rel="stylesheet" href="css/style.css" />
		<script type="text/javascript" src="js/jquery.min.js" ></script>
		<script type="text/javascript" src="js/flexible.js" ></script>
		<script type="text/javascript" src="js/basePathUtil.js" ></script>
		<script type="text/javascript" src="js/layer-mobile/layer.js" ></script>
		<script type="text/javascript" >
			var type=GetUrl("type");
			var access_token=GetUrl("access_token");
			var basePath=basePath();
			
			$(document).ready(function(){
				// to首页
				$("#index").bind("click",function(){
					window.location.href= basePath+"v1/user/wx/login";
				});
				// to限时购
				$("#limit").bind("click",function(){
					window.location.href= basePath+"res/xsg.html?access_token="+access_token+"&type=3";
				});
				// to每日优礼
				$("#everyday").bind("click",function(){
					window.location.href= basePath+"res/mryx.html?access_token="+access_token+"&type=2";
				});
				// to购物车
				$("#shopping").bind("click",function(){
					window.location.href= basePath+"res/gwc.html?access_token="+access_token;
				});
				// to个人中心
				$("#my").bind("click",function(){
					window.location.href= basePath+"v1/user/wx/login"
				});
			});
		</script>
		<script type="text/javascript" src="js/xsg.js" ></script>
		
	</head>
	<body>
		<div class="warp">
			<!-- banner  -->
		<div class="swiper">
			<img src="img/01.png">
		</div>		    
		<!-- banner结束 -->
		<!--抢购时间-->
		<div class="timer">
			<div class="timertit">
				<p>离结束还剩</p>
			</div>
			<div class="htimer">
				<div class="left-boder"></div>
				<div class="time-item">
					<!--<span id="day_show">0天</span>-->
					<strong id="hour_show"></strong>
					<span>:</span>
					<strong id="minute_show"></strong>
					<span>:</span>
					<strong id="second_show"></strong>
				</div>
				<div class="right-boder"></div>
			</div>
		</div>
		<!--抢购时间-->
		<!--列表-->
			<div class="list">
				<ul class="ullist">
					<!--<li>-->
						<!--<div class="txt">-->
							<!--<div class="t-left">-->
								<!--<div class="cont-img hidden">-->
									<!--<a href="">-->
										<!--<img src="img/04.png" >-->
									<!--</a>-->
								<!--</div>-->
							<!--</div>-->
							<!--<div class="t-right">-->
								<!--<div class="cont-tit ">-->
									<!--<div class="h3">-->
										<!--<p>午茶夫人养甘菊香柚绿菜</p>-->
									<!--</div>-->
									<!--<div class="h4">-->
										<!--<p>源自台湾纯天然原装进口</p>-->
									<!--</div>-->
					<!---->
									<!--<p><span class="hour">限时价</span><span class="Price">￥19:00</span><span class="yprice">原价<s>￥59:00</s></span></p>-->
									<!--<button class="btn">-->
										<!--<p>马上抢</p>-->
									<!--</button>-->
								<!--</div>-->
							<!--</div>-->
						<!--</div>-->
					<!--</li>-->
				</ul>
			</div>
		<!--列表-->
		
		<div class="backgroud"></div>
		<!--底导航开始-->
			<div id="nav">
				<ul class="nav-ul">
					<!--<li><a href="/yangcangclub/v1/user/wx/login"><img src="img/1.png"><p>首页</p></a></li>-->
					<!--<li><a href="javascript:void(0);"><img src="img/02—.png"><p style="color:#007234">限时购</p></a></li>-->
					<!--<li><a href="javascript:toSomewhere('mryx','&type=2');"><img src="img/3.png"><p>每日优选</p></a></li>-->
					<!--<li><a href="javascript:toSomewhere('gwc','');"><img src="img/4.png"><p>购物车</p></a></li>-->
					<!--<li><a href="javascript:toSomewhere('usercenter','');"><img src="img/5.png"><p>我的</p></a></li>-->

					<li id="index"><img src="/yangcangclub/res/img/1.png"><p >首页</p></li>
					<li id="limit"><img src="/yangcangclub/res/img/02—.png"><p>限时购</p></li>
					<li id="everyday"><img src="/yangcangclub/res/img/3.png"><p>每日优选</p></li>
					<li id="shopping"><img src="/yangcangclub/res/img/4.png"><p>购物车</p></li>
					<li id="my"><img src="/yangcangclub/res/img/5.png"><p style="color:#007234">我的</p></li>

				</ul>
			</div>
		<!--底导航开始-->
		</div>
	</body>
<!--倒计时-->
<script type="text/javascript">
var t =0;
function GetRTime(){
	t=t-1000;
	var h=0;
	var m=0;
	var s=0;
	if(t>0){
		h=Math.floor(t/1000/3600);
		m=Math.floor(t/1000/60-h*60);
		s=Math.floor(t/1000-h*3600-m*60);
	}else{
		$(".btn").html("<p>马上抢</p>");
		window.location.href=window.location;
	}
	if (m <= 9) m = '0' + m;
	if (s <= 9) s = '0' + s;
	document.getElementById("hour_show").innerHTML = h + "";
	document.getElementById("minute_show").innerHTML = m + "";
	document.getElementById("second_show").innerHTML = s + "";
}
setInterval(GetRTime,1000);
</script>
</html>
